/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package view.admin;

import dto.EmployeeDto;

/**
 *
 * @author khangpm
 */
public class PanelHome extends javax.swing.JPanel {
    AdministratorManage manage;
    EmployeeDto emp;
    /**
     * Creates new form JPanelHome
     */
    public PanelHome( AdministratorManage manage,EmployeeDto emp) {
        initComponents();
        this.manage = manage;
        this.emp = emp;
    }

    /**
     * This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabel2 = new javax.swing.JLabel();
        jPanel1 = new javax.swing.JPanel();
        lblEmployeeManage = new javax.swing.JLabel();
        btnDeleteEmployee = new javax.swing.JButton();
        btnViewEmployee = new javax.swing.JButton();
        btnEditEmployee = new javax.swing.JButton();
        btnAddEmployee = new javax.swing.JButton();
        jPanel2 = new javax.swing.JPanel();
        lblTypeBillManage = new javax.swing.JLabel();
        btnDeleteTypeBill = new javax.swing.JButton();
        btnViewTypeBill = new javax.swing.JButton();
        btnEditTypeBill = new javax.swing.JButton();
        btnAddTypeBill = new javax.swing.JButton();
        jPanel3 = new javax.swing.JPanel();
        lblBankManage = new javax.swing.JLabel();
        btnDeleteBank = new javax.swing.JButton();
        btnViewBank = new javax.swing.JButton();
        btnEditBank = new javax.swing.JButton();
        btnAddBank = new javax.swing.JButton();
        jPanel4 = new javax.swing.JPanel();
        lblDepartmentManage = new javax.swing.JLabel();
        btnAddDept = new javax.swing.JButton();
        btnEditDept = new javax.swing.JButton();
        btnViewDept = new javax.swing.JButton();
        btnDeleteDept = new javax.swing.JButton();

        setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        setMinimumSize(new java.awt.Dimension(750, 520));
        setOpaque(false);
        setPreferredSize(new java.awt.Dimension(750, 520));
        setLayout(null);

        jLabel2.setFont(new java.awt.Font("Vani", 1, 24)); // NOI18N
        jLabel2.setForeground(new java.awt.Color(255, 255, 51));
        jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel2.setText("ADMINISTRATOR MANAGE");
        jLabel2.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        add(jLabel2);
        jLabel2.setBounds(120, 10, 518, 50);

        jPanel1.setBorder(javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(255, 204, 204)));
        jPanel1.setOpaque(false);

        lblEmployeeManage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/EmployeeManage.png"))); // NOI18N
        lblEmployeeManage.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        lblEmployeeManage.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                lblEmployeeManageMouseClicked(evt);
            }
        });

        btnDeleteEmployee.setFont(new java.awt.Font("Vani", 1, 12)); // NOI18N
        btnDeleteEmployee.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/remove.png"))); // NOI18N
        btnDeleteEmployee.setText("Delete employee");
        btnDeleteEmployee.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnDeleteEmployee.setMargin(new java.awt.Insets(2, 5, 2, 5));
        btnDeleteEmployee.setOpaque(false);
        btnDeleteEmployee.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnDeleteEmployeeActionPerformed(evt);
            }
        });

        btnViewEmployee.setFont(new java.awt.Font("Vani", 1, 12)); // NOI18N
        btnViewEmployee.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/view.png"))); // NOI18N
        btnViewEmployee.setText("View employee");
        btnViewEmployee.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnViewEmployee.setMargin(new java.awt.Insets(2, 5, 2, 5));
        btnViewEmployee.setOpaque(false);
        btnViewEmployee.setPreferredSize(new java.awt.Dimension(137, 39));
        btnViewEmployee.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnViewEmployeeActionPerformed(evt);
            }
        });

        btnEditEmployee.setFont(new java.awt.Font("Vani", 1, 12)); // NOI18N
        btnEditEmployee.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/edit.png"))); // NOI18N
        btnEditEmployee.setText("Edit employee");
        btnEditEmployee.setToolTipText("");
        btnEditEmployee.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnEditEmployee.setMargin(new java.awt.Insets(2, 5, 2, 5));
        btnEditEmployee.setOpaque(false);
        btnEditEmployee.setPreferredSize(new java.awt.Dimension(137, 39));
        btnEditEmployee.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnEditEmployeeActionPerformed(evt);
            }
        });

        btnAddEmployee.setFont(new java.awt.Font("Vani", 1, 12)); // NOI18N
        btnAddEmployee.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/add.png"))); // NOI18N
        btnAddEmployee.setText("Add employee");
        btnAddEmployee.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnAddEmployee.setMargin(new java.awt.Insets(0, 5, 0, 5));
        btnAddEmployee.setOpaque(false);
        btnAddEmployee.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnAddEmployeeActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lblEmployeeManage)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 11, Short.MAX_VALUE)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(btnEditEmployee, javax.swing.GroupLayout.PREFERRED_SIZE, 147, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnAddEmployee, javax.swing.GroupLayout.PREFERRED_SIZE, 147, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnViewEmployee, javax.swing.GroupLayout.PREFERRED_SIZE, 147, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnDeleteEmployee))
                .addContainerGap())
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(btnAddEmployee)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnEditEmployee, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnViewEmployee, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnDeleteEmployee)
                        .addGap(0, 0, Short.MAX_VALUE))
                    .addComponent(lblEmployeeManage, javax.swing.GroupLayout.DEFAULT_SIZE, 162, Short.MAX_VALUE))
                .addContainerGap())
        );

        add(jPanel1);
        jPanel1.setBounds(40, 90, 334, 186);

        jPanel2.setBorder(javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(255, 204, 204)));
        jPanel2.setOpaque(false);

        lblTypeBillManage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/bill.png"))); // NOI18N
        lblTypeBillManage.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        lblTypeBillManage.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                lblTypeBillManageMouseClicked(evt);
            }
        });

        btnDeleteTypeBill.setFont(new java.awt.Font("Vani", 1, 12)); // NOI18N
        btnDeleteTypeBill.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/remove.png"))); // NOI18N
        btnDeleteTypeBill.setText("Delete type bill");
        btnDeleteTypeBill.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnDeleteTypeBill.setMargin(new java.awt.Insets(2, 5, 2, 5));
        btnDeleteTypeBill.setOpaque(false);
        btnDeleteTypeBill.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnDeleteTypeBillActionPerformed(evt);
            }
        });

        btnViewTypeBill.setFont(new java.awt.Font("Vani", 1, 12)); // NOI18N
        btnViewTypeBill.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/view.png"))); // NOI18N
        btnViewTypeBill.setText("View type bill");
        btnViewTypeBill.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnViewTypeBill.setMargin(new java.awt.Insets(2, 5, 2, 5));
        btnViewTypeBill.setOpaque(false);
        btnViewTypeBill.setPreferredSize(new java.awt.Dimension(137, 39));
        btnViewTypeBill.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnViewTypeBillActionPerformed(evt);
            }
        });

        btnEditTypeBill.setFont(new java.awt.Font("Vani", 1, 12)); // NOI18N
        btnEditTypeBill.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/edit.png"))); // NOI18N
        btnEditTypeBill.setText("Edit type bill");
        btnEditTypeBill.setToolTipText("");
        btnEditTypeBill.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnEditTypeBill.setMargin(new java.awt.Insets(2, 5, 2, 5));
        btnEditTypeBill.setOpaque(false);
        btnEditTypeBill.setPreferredSize(new java.awt.Dimension(137, 39));
        btnEditTypeBill.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnEditTypeBillActionPerformed(evt);
            }
        });

        btnAddTypeBill.setFont(new java.awt.Font("Vani", 1, 12)); // NOI18N
        btnAddTypeBill.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/add.png"))); // NOI18N
        btnAddTypeBill.setText("Add type bill");
        btnAddTypeBill.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnAddTypeBill.setMargin(new java.awt.Insets(0, 5, 0, 5));
        btnAddTypeBill.setOpaque(false);
        btnAddTypeBill.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnAddTypeBillActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lblTypeBillManage)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(btnEditTypeBill, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(btnAddTypeBill, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(btnViewTypeBill, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(btnDeleteTypeBill, javax.swing.GroupLayout.PREFERRED_SIZE, 147, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(17, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblTypeBillManage, javax.swing.GroupLayout.DEFAULT_SIZE, 162, Short.MAX_VALUE)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addGap(0, 0, Short.MAX_VALUE)
                        .addComponent(btnAddTypeBill)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnEditTypeBill, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnViewTypeBill, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnDeleteTypeBill)))
                .addContainerGap())
        );

        add(jPanel2);
        jPanel2.setBounds(390, 90, 334, 186);

        jPanel3.setBorder(javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(255, 204, 204)));
        jPanel3.setOpaque(false);

        lblBankManage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/bank.png"))); // NOI18N
        lblBankManage.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        lblBankManage.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                lblBankManageMouseClicked(evt);
            }
        });

        btnDeleteBank.setFont(new java.awt.Font("Vani", 1, 12)); // NOI18N
        btnDeleteBank.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/remove.png"))); // NOI18N
        btnDeleteBank.setText("Delete bank");
        btnDeleteBank.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnDeleteBank.setMargin(new java.awt.Insets(2, 5, 2, 5));
        btnDeleteBank.setOpaque(false);
        btnDeleteBank.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnDeleteBankActionPerformed(evt);
            }
        });

        btnViewBank.setFont(new java.awt.Font("Vani", 1, 12)); // NOI18N
        btnViewBank.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/view.png"))); // NOI18N
        btnViewBank.setText("View bank");
        btnViewBank.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnViewBank.setMargin(new java.awt.Insets(2, 5, 2, 5));
        btnViewBank.setOpaque(false);
        btnViewBank.setPreferredSize(new java.awt.Dimension(137, 39));
        btnViewBank.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnViewBankActionPerformed(evt);
            }
        });

        btnEditBank.setFont(new java.awt.Font("Vani", 1, 12)); // NOI18N
        btnEditBank.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/edit.png"))); // NOI18N
        btnEditBank.setText("Edit bank");
        btnEditBank.setToolTipText("");
        btnEditBank.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnEditBank.setMargin(new java.awt.Insets(2, 5, 2, 5));
        btnEditBank.setOpaque(false);
        btnEditBank.setPreferredSize(new java.awt.Dimension(137, 39));
        btnEditBank.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnEditBankActionPerformed(evt);
            }
        });

        btnAddBank.setFont(new java.awt.Font("Vani", 1, 12)); // NOI18N
        btnAddBank.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/add.png"))); // NOI18N
        btnAddBank.setText("Add bank");
        btnAddBank.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnAddBank.setMargin(new java.awt.Insets(0, 5, 0, 5));
        btnAddBank.setOpaque(false);
        btnAddBank.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnAddBankActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lblBankManage)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(btnEditBank, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(btnAddBank, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(btnViewBank, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(btnDeleteBank, javax.swing.GroupLayout.PREFERRED_SIZE, 147, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(11, Short.MAX_VALUE))
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addComponent(btnAddBank)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnEditBank, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnViewBank, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnDeleteBank)
                        .addGap(0, 0, Short.MAX_VALUE))
                    .addComponent(lblBankManage, javax.swing.GroupLayout.DEFAULT_SIZE, 162, Short.MAX_VALUE))
                .addContainerGap())
        );

        add(jPanel3);
        jPanel3.setBounds(40, 290, 334, 186);

        jPanel4.setBorder(javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(255, 204, 204)));
        jPanel4.setOpaque(false);

        lblDepartmentManage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/department.png"))); // NOI18N
        lblDepartmentManage.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        lblDepartmentManage.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                lblDepartmentManageMouseClicked(evt);
            }
        });

        btnAddDept.setFont(new java.awt.Font("Vani", 1, 12)); // NOI18N
        btnAddDept.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/add.png"))); // NOI18N
        btnAddDept.setText("Add department");
        btnAddDept.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnAddDept.setMargin(new java.awt.Insets(0, 5, 0, 5));
        btnAddDept.setOpaque(false);
        btnAddDept.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnAddDeptActionPerformed(evt);
            }
        });

        btnEditDept.setFont(new java.awt.Font("Vani", 1, 12)); // NOI18N
        btnEditDept.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/edit.png"))); // NOI18N
        btnEditDept.setText("Edit department");
        btnEditDept.setToolTipText("");
        btnEditDept.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnEditDept.setMargin(new java.awt.Insets(2, 5, 2, 5));
        btnEditDept.setOpaque(false);
        btnEditDept.setPreferredSize(new java.awt.Dimension(137, 39));
        btnEditDept.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnEditDeptActionPerformed(evt);
            }
        });

        btnViewDept.setFont(new java.awt.Font("Vani", 1, 12)); // NOI18N
        btnViewDept.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/view.png"))); // NOI18N
        btnViewDept.setText("View department");
        btnViewDept.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnViewDept.setMargin(new java.awt.Insets(2, 5, 2, 5));
        btnViewDept.setOpaque(false);
        btnViewDept.setPreferredSize(new java.awt.Dimension(137, 39));
        btnViewDept.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnViewDeptActionPerformed(evt);
            }
        });

        btnDeleteDept.setFont(new java.awt.Font("Vani", 1, 12)); // NOI18N
        btnDeleteDept.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/remove.png"))); // NOI18N
        btnDeleteDept.setText("Delete department");
        btnDeleteDept.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnDeleteDept.setMargin(new java.awt.Insets(2, 5, 2, 5));
        btnDeleteDept.setOpaque(false);
        btnDeleteDept.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnDeleteDeptActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lblDepartmentManage)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(btnEditDept, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(btnViewDept, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(btnDeleteDept, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(btnAddDept, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 159, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addComponent(btnAddDept)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnEditDept, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnViewDept, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnDeleteDept)
                        .addGap(0, 0, Short.MAX_VALUE))
                    .addComponent(lblDepartmentManage, javax.swing.GroupLayout.DEFAULT_SIZE, 162, Short.MAX_VALUE))
                .addContainerGap())
        );

        add(jPanel4);
        jPanel4.setBounds(390, 290, 339, 186);
    }// </editor-fold>//GEN-END:initComponents

    private void lblEmployeeManageMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblEmployeeManageMouseClicked
        // TODO add your handling code here:
        AdminEmployee panelEmp = new AdminEmployee(emp);
        manage.setDisplayPanel(panelEmp);
    }//GEN-LAST:event_lblEmployeeManageMouseClicked

    private void lblTypeBillManageMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblTypeBillManageMouseClicked
        // TODO add your handling code here:
        AdminDepartment panelDepart = new AdminDepartment();
        manage.setDisplayPanel(panelDepart);
    }//GEN-LAST:event_lblTypeBillManageMouseClicked

    private void lblBankManageMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblBankManageMouseClicked
        // TODO add your handling code here:
        AdminBank bank = new AdminBank();
        manage.setDisplayPanel(bank);
    }//GEN-LAST:event_lblBankManageMouseClicked

    private void lblDepartmentManageMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblDepartmentManageMouseClicked
        // TODO add your handling code here:
        AdminBank bank = new AdminBank();
        manage.setDisplayPanel(bank);
    }//GEN-LAST:event_lblDepartmentManageMouseClicked

    private void btnDeleteEmployeeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnDeleteEmployeeActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnDeleteEmployeeActionPerformed

    private void btnViewEmployeeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnViewEmployeeActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnViewEmployeeActionPerformed

    private void btnEditEmployeeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEditEmployeeActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnEditEmployeeActionPerformed

    private void btnAddEmployeeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAddEmployeeActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnAddEmployeeActionPerformed

    private void btnDeleteTypeBillActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnDeleteTypeBillActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnDeleteTypeBillActionPerformed

    private void btnViewTypeBillActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnViewTypeBillActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnViewTypeBillActionPerformed

    private void btnEditTypeBillActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEditTypeBillActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnEditTypeBillActionPerformed

    private void btnAddTypeBillActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAddTypeBillActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnAddTypeBillActionPerformed

    private void btnDeleteBankActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnDeleteBankActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnDeleteBankActionPerformed

    private void btnViewBankActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnViewBankActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnViewBankActionPerformed

    private void btnEditBankActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEditBankActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnEditBankActionPerformed

    private void btnAddBankActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAddBankActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnAddBankActionPerformed

    private void btnAddDeptActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAddDeptActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnAddDeptActionPerformed

    private void btnEditDeptActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEditDeptActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnEditDeptActionPerformed

    private void btnViewDeptActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnViewDeptActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnViewDeptActionPerformed

    private void btnDeleteDeptActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnDeleteDeptActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnDeleteDeptActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnAddBank;
    private javax.swing.JButton btnAddDept;
    private javax.swing.JButton btnAddEmployee;
    private javax.swing.JButton btnAddTypeBill;
    private javax.swing.JButton btnDeleteBank;
    private javax.swing.JButton btnDeleteDept;
    private javax.swing.JButton btnDeleteEmployee;
    private javax.swing.JButton btnDeleteTypeBill;
    private javax.swing.JButton btnEditBank;
    private javax.swing.JButton btnEditDept;
    private javax.swing.JButton btnEditEmployee;
    private javax.swing.JButton btnEditTypeBill;
    private javax.swing.JButton btnViewBank;
    private javax.swing.JButton btnViewDept;
    private javax.swing.JButton btnViewEmployee;
    private javax.swing.JButton btnViewTypeBill;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JLabel lblBankManage;
    private javax.swing.JLabel lblDepartmentManage;
    private javax.swing.JLabel lblEmployeeManage;
    private javax.swing.JLabel lblTypeBillManage;
    // End of variables declaration//GEN-END:variables
}
